package com.ruoyi.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门积分明细对象 pointsDeptLog
 *
 * @author ruoyi
 * @date 2024-08-21
 */
public class PointsDeptLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private int points;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pointsDesc;

    /** 属于哪个部门 */
    @Excel(name = "属于哪个部门")
    private Long deptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createrId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long projectId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPoints(int points)
    {
        this.points = points;
    }

    public int getPoints()
    {
        return points;
    }
    public void setPointsDesc(String pointsDesc)
    {
        this.pointsDesc = pointsDesc;
    }

    public String getPointsDesc()
    {
        return pointsDesc;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCreaterId(Long createrId)
    {
        this.createrId = createrId;
    }

    public Long getCreaterId()
    {
        return createrId;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("points", getPoints())
                .append("pointsDesc", getPointsDesc())
                .append("deptId", getDeptId())
                .append("createTime", getCreateTime())
                .append("createrId", getCreaterId())
                .append("projectId", getProjectId())
                .toString();
    }
}
